package com.itheima.fanxing;

/**
 * 自定义泛型类
 * @param <T>
 */
public class Box<T> {
    //封装数据
    private T t;

    //getter  setter


    public T getT() {
        return t;
    }

    public void setT(T t) {
        this.t = t;
    }

    public void sing(){

    }
    public void sing( T t){

    }

    public T show(){
        return t;
    }
}
